package com.vlin;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient 
public class LoginBootstrap {

	public static void main(String[] args) {
		SpringApplicationBuilder springBuilder = new SpringApplicationBuilder(LoginBootstrap.class);

		if (args != null && args.length > 0)
			for (String arg : args)
				if (arg != null)
					springBuilder.properties(arg);

		springBuilder.run(args);
	}
}
